package com.rd.sys.service.analysis.result.impl;

import baseproj.common.exception.BaseServiceException;

public class ResultServiceException extends BaseServiceException {

    private static final long serialVersionUID = 1L;
    public static final int RESULT_FILE_DEFINED_ERROR = 1;

    public ResultServiceException(int erroCode) {
        super(erroCode);
        if (erroCode == RESULT_FILE_DEFINED_ERROR) {
            // 结果文件不满足定义
            this.setErroDesc("结果文件不满足定义");
        }
    }
}
